

int NHY02L01P13(int fileIndex) {

	long long m, n, b, d;
	switch (fileIndex){
		case 1:
			n = 1;
			break;
		case 9:
			n = 100;
			break;
		default:
			n = R(1+1,100-1);
			break;
	}
	cout << n << endl;

	int a[102];
	for(int i=1; i<=n; i++)	a[i] = i;
	m = R(0, 20);
	for(int i=0; i<m; i++) {
		b = R(1, n);
		d = R(1, n);
		swap(a[b], a[d]);
	}
	for(int i=1; i<=n; i++)	cout << a[i] << " ";

	return 0;
}